@import url("common.less");
.fm-num {
    font-family: "UnidreamLED";
}
.main-blk {
    padding: 15px;
    background: #124393;
    border-radius: 3px;
}
.page-login {
    .flex;
    .v-c;
    .h-c;
    min-height: 100%;
    background: url(../images/bg-login.jpg) no-repeat;
    background-size: 100% 100%;
    .login-form {
        height: auto;
        padding: 20px 90px;
        background: rgba(1, 33, 72, 0.6);
        box-shadow: 0px 0px 20px 1px rgba(63, 149, 255, 1) inset;
        border-radius: 10px;
        .title {
            margin-bottom: 40px;
            font-size: 24px;
            text-align: center;
            color: #fff;
        }
    }
    .login-blk {
        width: 544px;
        .logo {
            display: block;
            width: 450px;
            margin: 0 auto 32px;
        }
        .el-form-item {
            margin-bottom: 20px;
        }
        .el-input {
            line-height: 54px;
        }
        .el-input__inner {
            height: 56px;
            background: rgba(255, 255, 255, 0.13);
            border-radius: 7px;
            border: none;
            font-size: 18px;
            color: #fff;
            font-weight: lighter;
            padding-left: 65px;
        }
        .el-form-item__content {
            position: relative;
        }
        .iconfont {
            font-size: 20px;
            margin-left: 20px;
        }
    }
}

.star {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 2;
    animation: flow 4000ms linear infinite;
    &::after {
        content: "";
        display: block;
        border: solid;
        border-width: 2px 0 2px 80px;
        /*流星随长度逐渐缩小*/
        border-color: transparent transparent transparent rgba(255, 255, 255, 1);
        border-radius: 2px 0 0 2px;
        transform: rotate(-135deg);
        transform-origin: 0 0 0;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }

    &.star1 {
        top: 0;
        left: 20%;
        animation-delay: 3000ms;
    }
    &.star2 {
        top: 0;
        left: 40%;
        animation-delay: 5000ms;
    }
    &.star3 {
        top: 0;
        left: 60%;
        animation-delay: 1000ms;
    }
    &.star4 {
        top: 40%;
        left: 0;
        animation-delay: 2000ms;
    }
}
@keyframes flow {
    0% {
        opacity: 0.2;
        transform: translate(0, 0);
    }
    100% {
        opacity: 0.5;
        transform: translate(1000px, 1000px) scale(1);
    }
}

.home-main {
    .pd(50);
    // padding: 50px 200px;
    background: rgba(1, 33, 72, 0.6);
    box-shadow: 0px 0px 20px 1px rgba(63, 149, 255, 1) inset;
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    .inner {
        position: relative;
        // .w(1450);
        // margin: 0 auto;
    }
    .home-title {
        .w(168);
        .mt(40);
        .pd(0, 15);
        .fs(26);
        .lh(70);
        background: url(../images/index/bg-title.png) repeat-x;
        background-size: auto 100%;
        &:first-child {
            margin-top: 0;
        }
        text-align: center;
    }
    .home-nav {
        .flex;
        .wrap;
        .mg(0, -30);
        .mr(-50);
        .fs(22);
        // margin: 0 -30px;
        // font-size: 22px;
        color: #00f4ff;
        text-align: center;
        & > li {
            .w(189);
            .mg(30);
            .mb(0);
            // width: 189px;
            // margin:30px 30px 0;
            cursor: pointer;

            &:hover {
                .icon {
                    background-image: url(../images/index/bg-nav-active.png);
                }
            }
        }
        .icon {
            .h(122);
            .mb(15);
            // height: 122px;
            // margin-bottom: 15px;
            background: url(../images/index/bg-nav.png);
            background-size: 100% 100%;
            .flex;
            .v-c;
            .h-c;
            img {
                .px2rem(max-width, 60);
                .px2rem(max-height, 60);
                // max-width:60px;
                // max-height: 60px;
            }
        }
    }
}

.crumbs {
    margin-bottom: 20px;
    font-size: @textSize;
    color: rgba(191, 223, 247, 0.7);
    .active {
        color: #bfdff7;
    }
}
.page-census {
    margin: -30px;
    padding: 30px 60px;
    font-size: @textSize;
}
.census-main {
    height: 100%;
    overflow: auto;
    margin-left: 12px;
    padding: 24px 0;
    background: #02123e;
    .opers {
        margin-bottom: 20px;
    }
}

.area-blk,
.side-blk {
    height: 100%;
    overflow: auto;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    .hd {
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.21);
    }
}
.main-hd {
    height: 40px;
    padding-bottom: 10px;
    line-height: 30px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.21);
    color: #bfdff7;
    font-size: 16px;
    &.bd-none {
        border-bottom: none;
    }
}
.area-tree {
    padding: 20px 0;
}
.record-detail {
    .oper-item {
        .flex;
        .v-c;
        .h-c;
        width: 130px;
        //width:151px;
        height: 70px;
        margin-top: 30px;
        background: linear-gradient(132deg, rgba(24, 193, 255, 1) 0%, rgba(21, 151, 255, 1) 100%);
        border-radius: 3px;
        color: #fff;
        .fs-16;
        cursor: pointer;
    }
    .title {
        margin-bottom: 30px;
        font-weight: bold;
        font-size: 22px;
        text-align: center;
    }
    .infos {
        opacity: 0.85;
        .el-col {
            padding: 8px 0;
        }
    }
    .iot-blk {
        width: 312px;
    }
    .record-safe {
        .el-row {
            margin-top: -10px;
        }
        .el-col {
            margin-top: 25px;
        }
    }
    .record-assess {
        color: #bfdff7;
        line-height: 1.8;
    }
    .el-button--dblue {
        width: 100%;
        height: 42px;
        line-height: 42px;
        color: #bfdff7;
    }
}

.setting-nav-wrap {
    height: 100%;
    background: #034699;
}
.setting-nav {
    li {
        padding: 0 13px;
        border-left: 4px solid transparent;
        color: rgba(255, 255, 255, 0.8);
        line-height: 48px;
        cursor: pointer;
        &.active,
        &:hover {
            background: rgba(63, 149, 255, 0.3);
            color: #fff;
        }
        &.active {
            border-color: #3f95ff;
        }
        .iconfont {
            font-size: 16px;
        }
    }
}
.page-setting {
    .setting-main {
        margin-left: 30px;
        padding: 0;
        .census-main {
            margin-left: 0;
            padding: 30px;
        }
        .el-aside ~ .census-main {
            border-left: 1px solid rgba(255, 255, 255, 0.2);
        }
    }
}
.tab-nav {
    margin-bottom: 15px;
    font-size: 16px;
    a {
        display: inline-block;
        margin-right: 30px;
        line-height: 30px;
        border-bottom: 3px solid transparent;
        color: rgba(255, 255, 255, 0.7);
        &.active {
            color: #bfdff7;
            border-bottom-color: #bfdff7;
        }
    }
}
.trace-wrap {
    .trace-items {
        a {
            display: inline-block;
            width: 100px;
            margin-right: 10px;
            text-align: center;
            img {
                width: 60px;
            }
        }
    }
}
.trace-detail {
    padding: 10px 20px;
    background: #124393;
    line-height: 2;
}

.context-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(1, 33, 72, 1);
    box-shadow: 0px 0px 5px rgba(63, 149, 255, 1) inset;
    border: none;
    // border: 1px solid @colorPrimary;
    width: 150px;
    padding: 0;
    color: #fff;
    li {
        padding: 0 20px;
        line-height: 40px;
        cursor: pointer;
        &:hover {
            background: @colorPrimary;
        }
    }
}
.uni-iot-title {
    height: 40px;
    margin-top: 45px;
    margin-bottom: 30px;
    & > h2 {
        width: 200px;
        height: 100%;
        margin-left: -2px;
        margin-right: -2px;
        background: url(../images/bg-title.png) no-repeat;
        text-align: center;
        color: @colorBlue;
        font-size: 16px;
        line-height: 40px;
    }
    .line {
        height: 1px;
        background: @colorBlue;
    }
}
.unit-device-item {
    background: #061d54;
    border-radius: 5px;
    .hd {
        height: 36px;
        padding: 0 15px;
        background: #3f95ff;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        color: #fff;
        line-height: 36px;
        &:before {
            content: none;
        }
    }
    .con {
        padding: 15px;
        .attr {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            margin: 10px 0;
            color: rgba(255, 255, 255, 0.8);
            & > b {
                color: #fff;
                font-weight: normal;
            }
        }
    }
    &.alarm {
        .hd {
            background: #ff0000;
        }
    }
    &.offline {
        .hd {
            background: #00377a;
        }
    }
}
.unit-select-dialog {
    position: relative;
    .selected-units {
        position: absolute;
        bottom: 62px;
        left: 0;
        right: 0px;
        z-index: 3;
        height: 80px;
        overflow: auto;
        padding: 10px 20px;
        background: #00245f;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}
.selected-unit-item {
    display: inline-block;
    padding: 0 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #02123e;
    line-height: 30px;
    cursor: pointer;
}
.info-item {
    margin-bottom: 10px;
    &:last-child {
        margin-bottom: 0;
    }
    dd {
        color: rgba(255, 255, 255, 0.8);
    }
}
.device-detail-blk {
    .basic-info,
    .basic-stat {
        height: 252px;
        width: 100%;
    }
    .chart-row {
        height: 230px;
        .el-col {
            height: 100%;
        }
    }
}
.recent-week {
    .item {
        width: 75px;
        display: inline-block;
        margin-left: 10px;
        background: rgba(18, 67, 147, 1);
        border-radius: 3px;
        border: 1px solid rgba(175, 236, 255, 1);
        color: #afecff;
        line-height: 30px;
        text-align: center;
        &.active {
            background: #3f6fff;
            border-color: #3f6fff;
            color: #fff;
        }
    }
}
.inspect-nav {
    display: inline-block;
    margin-bottom: 20px;
    border-bottom: 1px solid #afecff;
    & > a {
        display: inline-block;
        height: 40px;
        margin-right: 50px;
        opacity: 0.7;

        &:last-child {
            margin-right: 0;
        }

        &.active {
            border-bottom: 3px solid #bfdff7;
            opacity: 1;
        }
    }
}

.avatar-uploader {
    .el-upload {
        width: 110px;
        height: 145px;
        border: 1px dashed #fff;
        border-radius: 5px;
        .flex;
        .v-c;
        .h-c;
        &:focus {
            border-color: #fff;
            color: #fff;
        }
        &:hover {
            border-color: @colorPrimary;
            color: @colorPrimary;
        }
        .avatar-uploader-icon {
            font-size: 24px;
        }
        .avatar {
            max-width: 100%;
            max-height: 100%;
        }
    }
    &.pic-uploader {
        .el-upload {
            width: 120px;
            height: 120px;
        }
    }
}
.evaluate-blk {
    background: #074796;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
    .hd,
    .ft {
        padding: 0 15px;
        line-height: 40px;
    }
    .hd {
        background: rgba(0, 0, 0, 0.5);
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    .ft {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    .con {
        padding: 15px;
    }
}

.switch-map {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    border: 1px solid #95b3cc;
    color: #95b3cc;
    line-height: 20px;
    background: rgba(0, 0, 0, 0.7);
    & > p {
        padding: 0 10px;
        font-size: 12px;
        border-right: 1px solid #95b3cc;
        cursor: pointer;
        &:last-child {
            border-right: none;
        }
        &.active {
            color: #37c5ff;
            font-weight: bold;
        }
    }
}

.w-e-toolbar {
    background: #02123e !important;
    border-color: #1e3c88 !important;
    border-bottom-color: #1e3c88 !important;
    .w-e-menu {
        &:hover {
            background: #000 !important;
        }
        & > i {
            color: #fff !important;
        }
    }
}
.w-e-text-container {
    border-color: #1e3c88 !important;
    .w-e-text {
        background: #1e3c88;
    }
}

// .w-e-menu .w-e-panel-container{
//     background: #02123e !important;
// 	border-color: #1E3C88 !important;
// }
.w-e-panel-tab-content input::placeholder {
    color: #999 !important;
}
.floor-marker-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 30px;
    h4 {
        font-size: 16px;
        font-weight: bold;
        text-align: center;
    }
    .floor-marker {
        width: 80%;
        height: 90%;
        margin: 10px auto;
    }
}

.group-list {
    padding: 20px;
    .group-item {
        height: 40px;
        cursor: pointer;
        &:hover,
        &.active {
            color: @colorPrimary;
        }
    }
}

.setting-iot {
    display: flex !important;
    .set-item {
        flex: 1;
        h2 {
            position: relative;
            padding-left: 15px;
            margin-bottom: 30px;
            font-size: 16px;
            &:before {
                content: "";
                position: absolute;
                left: 0;
                top: 50%;
                width: 5px;
                height: 20px;
                margin-top: -10px;
                background: @colorPrimary;
            }
        }
        .el-form {
            padding-left: 20px;
        }
    }
    .el-upload--picture-card {
        background: none;
    }
    .bg-img {
        max-width: 100%;
        max-height: 100%;
    }
}
.d-flex{
    display: flex;
    justify-content: space-around;
    align-items: center;
}